package com.cvit;
class SubClass1 extends SuperClass
{
	int x;
	public SubClass1()
	{
		x=6;
		System.out.println("in subClass:x="+x);
		
	}
	public void aMethod ()
	{
		System.out.println("in SubClass1.aMethod()");
		System.out.println("super.x="+Superclass.x,"sub.x"+SubClass1.x)	;
	
	}
	public int aMethod(int a,int b)
	{
		int sum=a+b;
		return sum;	
	}

}